package com.nomi.blog.exception;

/**
 * 未授权访问异常401
 */
public class UnauthorizedException extends RuntimeException{
    private static final long serialVersionUID = 1L;

    public UnauthorizedException(){
        super("未授权，请先登录");
    }

    public UnauthorizedException(String message){
        super(message);
    }
}
